home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / viewkit / builderExamples / stopwatch / ControlDerived.c++ < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  726 b   |  39 lines

  1. /////////////////////////////////////////////////////////////
  2. //
  3. // Source file for ControlDerived
  4. //
  5. //    This file generated by BuilderXcessory. 
  6. /////////////////////////////////////////////////////////////
  7.  
  8. #include "ControlDerived.h"
  9. #include <Vk/VkPeriodic.h> // Typed line
  10.  
  11. ControlDerived::ControlDerived(const char *name, Widget parent) : 
  12.                    Control(name, parent) 
  13.     // Empty
  14. }
  15.  
  16.  
  17. ControlDerived::~ControlDerived()
  18. {
  19.   // Empty
  20. }
  21.  
  22.  
  23. const char * ControlDerived::className() // classname
  24. {
  25.     return ("ControlDerived");
  26. }
  27.  
  28. void ControlDerived::start(Widget, XtPointer) 
  29. {
  30.     _timer->start(); // Type line    
  31. }
  32.  
  33. void ControlDerived::stop(Widget, XtPointer) 
  34. {
  35.     _timer->stop(); // Type line
  36. }
  37.  
  38.